package com.xb.loan.admin.bean.system;


import com.xb.loan.util.DateHelper;

import javax.persistence.Entity;
import java.util.Date;

@Entity
public class OssOperateLog {
    private Long operateLogId;

    private String operatorId;

    private Integer operateType;

    private String objectType;

    private String objectId;

    private String objectContent;

    private Date createTime;
    
    private String operateName;
    
    private String partnerId;

    

    public Long getOperateLogId() {
		return operateLogId;
	}

	public void setOperateLogId(Long operateLogId) {
		this.operateLogId = operateLogId;
	}

	public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId == null ? null : operatorId.trim();
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType == null ? null : objectType.trim();
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId == null ? null : objectId.trim();
    }

    public String getObjectContent() {
        return objectContent;
    }

    public void setObjectContent(String objectContent) {
        this.objectContent = objectContent == null ? null : objectContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}
	
	public String getCreateTimeFormat(){
    	return DateHelper.formatDate(null , createTime);
    }

	public String getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}
	
    
}